const methods = {
  detectionCreateValidate: {
    testName: [
      { required: true, message: '请输入检测名称', trigger: 'blur' },
      { min: 2, max: 20, message: '长度在 2 到 20 个字符', trigger: 'change' }
    ],
    client: [
      { required: true, message: '请输入客户名称', trigger: 'blur' },
      { min: 2, max: 20, message: '长度在 2 到 20 个字符', trigger: 'change' }
    ],
    contact: [
      { required: true, message: '请输入联系方式', trigger: 'blur' },
      { pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, message: '请输入正确的手机号码', trigger: 'change' }
    ],
    clientAccount: [
      { required: true, message: '请输入客户账户', trigger: 'blur' },
      { type: 'number', message: '请输入正确的账户', trigger: 'change' }
    ],
    owner: [
      { required: true, message: '请输入交易负责人', trigger: 'blur' },
      { min: 2, max: 20, message: '长度在 2 到 5 个字符', trigger: 'change' }
    ]
  },
  quotationCreateValidate: {
    client: [
      { required: true, message: '请输入客户姓名', trigger: 'blur' },
      { min: 2, max: 20, message: '长度在 2 到 20 个字符', trigger: 'change' }
    ],
    attn: [
      { required: true, message: '请输入联络人', trigger: 'blur' },
      { min: 2, max: 20, message: '长度在 2 到 20 个字符', trigger: 'change' }
    ],
    telClient: [
      { required: true, message: '请输入客户电话', trigger: 'blur' },
      { pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, message: '请输入正确的手机号码', trigger: 'change' },
    ],
    faxClient: [
      { required: true, message: '请输入客户传真', trigger: 'blur' },
      { min: 2, max: 20, message: '长度在 3 到 5 个字符', trigger: 'change' }
    ],
    faxCom: [
      { required: true, message: '请输入公司传真', trigger: 'blur' },
      { min: 2, max: 20, message: '长度在 3 到 5 个字符', trigger: 'change' }
    ],
    email: [
      { required: true, message: '请输入邮箱地址', trigger: 'blur' },
      { type: 'email', message: '请输入正确的邮箱地址', trigger: 'change' }
    ],
    gmtCreate: [
      { required: true, message: '请选择报价日期', trigger: 'blur' }
    ],
    invoiceTitle: [
      { required: true, message: '请输入发票抬头', trigger: 'blur' },
      { min: 2, max: 20, message: '长度在 3 到 5 个字符', trigger: 'change' }
    ],
    telCom: [
      { required: true, message: '请输入公司电话', trigger: 'blur' },
      { min: 2, max: 20, message: '长度在 3 到 5 个字符', trigger: 'change' }
    ],
    quotationNum: [
      { required: true, message: '请输入报价单编号', trigger: 'blur' }
    ],
    reportType: [
      { required: true, message: '请选择报告类型', trigger: 'blur' }
    ],
    deliveryAddress: [
      { required: true, message: '请输入邮寄地址', trigger: 'blur' },
      { min: 2, max: 100, message: '长度在 3 到 100 个字符', trigger: 'change' }
    ],
    testPeroid: [
      { required: false, message: '请输入选择周期', trigger: 'change' }
    ],
    bankAccountName: [
      { required: true, message: '请输入户名', trigger: 'blur' },
      { min: 2, max: 20, message: '长度在 3 到 5 个字符', trigger: 'change' }
    ],
    bankAccount: [
      { required: true, message: '请输入账号', trigger: 'blur' },
      { min: 2, max: 20, message: '长度在 3 到 5 个字符', trigger: 'change' }
    ],
    bankName: [
      { required: true, message: '请输入银行名称', trigger: 'blur' },
      { min: 2, max: 20, message: '长度在 3 到 5 个字符', trigger: 'blur' }
    ],
    clientComSignature: [
      { required: true, message: '请输入公司签名', trigger: 'blur' },
      { min: 2, max: 20, message: '长度在 3 到 5 个字符', trigger: 'blur' }
    ],
    libiaoRepresentativeSignature: [
      { required: true, message: '请输入立标代表签名', trigger: 'blur' },
      { min: 2, max: 20, message: '长度在 3 到 5 个字符', trigger: 'blur' }
    ],
    clientComChop: [
      { required: true, message: '请输入盖章', trigger: 'blur' },
      { min: 2, max: 20, message: '长度在 3 到 5 个字符', trigger: 'blur' }
    ],
    audit: [
      { required: true, message: '请输入审核人员签名', trigger: 'blur' },
      { min: 2, max: 20, message: '长度在 3 到 5 个字符', trigger: 'blur' }
    ],
    clientSignatureDate: [
      { required: true, message: '请选择客户签名日期', trigger: 'blur' }
    ],
    libiaoSignatureDate: [
      { required: true, message: '请选择立标签名日期', trigger: 'blur' }
    ],
    employee: [
      { required: true, message: '请输入员工名称', trigger: 'blur' },
      { min: 2, max: 20, message: '长度在 3 到 5 个字符', trigger: 'blur' }
    ],
    customer: [
      { required: true, message: '请输入客户名称', trigger: 'blur' },
      { min: 2, max: 20, message: '长度在 3 到 5 个字符', trigger: 'blur' }
    ],
    remark: [
      { required: true, message: '请输入注意事项', trigger: 'blur' },
      { min: 2, max: 20, message: '长度在 3 到 5 个字符', trigger: 'blur' }
    ]
  }

}

export default methods
